Optimal. Leaf size=115 \[ \frac{2 b^3 (3 A+5 C) \sin (c+d x) \sqrt{b \sec (c+d x)}}{5 d}-\frac{2 b^4 (3 A+5 C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 A b^2 \tan (c+d x) (b \sec (c+d x))^{3/2}}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13362, antiderivative size = 115, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3238, 4046, 3768, 3771, 2639} \[ \frac{2 b^3 (3 A+5 C) \sin (c+d x) \sqrt{b \sec (c+d x)}}{5 d}-\frac{2 b^4 (3 A+5 C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 A b^2 \tan (c+d x) (b \sec (c+d x))^{3/2}}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3238
Rule 4046
Rule 3768
Rule 3771
Rule 2639
Rubi steps
\begin{align*} \int \left (A+C \cos ^2(c+d x)\right ) (b \sec (c+d x))^{7/2} \, dx &=b^2 \int (b \sec (c+d x))^{3/2} \left (C+A \sec ^2(c+d x)\right ) \, dx\\ &=\frac{2 A b^2 (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}+\frac{1}{5} \left (b^2 (3 A+5 C)\right ) \int (b \sec (c+d x))^{3/2} \, dx\\ &=\frac{2 b^3 (3 A+5 C) \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 A b^2 (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}-\frac{1}{5} \left (b^4 (3 A+5 C)\right ) \int \frac{1}{\sqrt{b \sec (c+d x)}} \, dx\\ &=\frac{2 b^3 (3 A+5 C) \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 A b^2 (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}-\frac{\left (b^4 (3 A+5 C)\right ) \int \sqrt{\cos (c+d x)} \, dx}{5 \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ &=-\frac{2 b^4 (3 A+5 C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 b^3 (3 A+5 C) \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 A b^2 (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}\\ \end{align*}
Mathematica [A] time = 0.467094, size = 79, normalized size = 0.69 \[ -\frac{b^2 (b \sec (c+d x))^{3/2} \left (-(3 A+5 C) \sin (2 (c+d x))+2 (3 A+5 C) \cos ^{\frac{3}{2}}(c+d x) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )-2 A \tan (c+d x)\right )}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.648, size = 668, normalized size = 5.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (C b^{3} \cos \left (d x + c\right )^{2} + A b^{3}\right )} \sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]